package com.ujoku.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by Greg.Chen on 2015/2/2.
 */
public class CartSetDeliveryTypeForm {

    @NotNull
    @Max(2)
    @Min(0)
    private Integer deliveryType;

    public Integer getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(Integer deliveryType) {
        this.deliveryType = deliveryType;
    }
}
